/*
 * @(#)Page.java
 *
 * Copyright 2012 by ShenY BIS, All rights reserved.
 */

package com.bis.framework.util.common;

/**
 * Page
 * 
 * @author BIS 2012-12-24
 */
public class Page
{

    /**
     * page
     */
    private int    page          = 1;

    /**
     * pageSize
     */
    private int    pageSize      = SystemConfig.getInt("pageSize", 10);

    /**
     * rowCount
     */
    private int    rowCount      = 0;

    /**
     * currPage
     */
    private int    currPage      = 1;

    /**
     * currGroup
     */
    private int    currGroup     = 1;

    /**
     * group
     */
    private int    group         = 1;

    /**
     * startPosition
     */
    private int    startPosition = 1;

    /**
     * endPosition
     */
    private int    endPosition   = 1;

    /**
     * condition
     */
    private String condition;

    /**
     * getGroupPages
     * @Description:
     * @return
     */
    public static int getGroupPages()
    {
        return 5;
    }

    /**
     * @return the page
     */
    public int getPage()
    {
        return page;
    }

    /**
     * @param page the page to set
     */
    public void setPage(int page)
    {
        this.page = page;
    }

    /**
     * @return the pageSize
     */
    public int getPageSize()
    {
        return pageSize;
    }

    /**
     * @param pageSize the pageSize to set
     */
    public void setPageSize(int pageSize)
    {
        this.pageSize = pageSize;
    }

    /**
     * @return the rowCount
     */
    public int getRowCount()
    {
        return rowCount;
    }

    /**
     * @param rowCount the rowCount to set
     */
    public void setRowCount(int rowCount)
    {
        this.rowCount = rowCount;
    }

    /**
     * @return the currPage
     */
    public int getCurrPage()
    {
        return currPage;
    }

    /**
     * @param currPage the currPage to set
     */
    public void setCurrPage(int currPage)
    {
        this.currPage = currPage;
    }

    /**
     * @return the currGroup
     */
    public int getCurrGroup()
    {
        return currGroup;
    }

    /**
     * @param currGroup the currGroup to set
     */
    public void setCurrGroup(int currGroup)
    {
        this.currGroup = currGroup;
    }

    /**
     * @return the group
     */
    public int getGroup()
    {
        return group;
    }

    /**
     * @param group the group to set
     */
    public void setGroup(int group)
    {
        this.group = group;
    }

    /**
     * @return the startPosition
     */
    public int getStartPosition()
    {
        return startPosition;
    }

    /**
     * @param startPosition the startPosition to set
     */
    public void setStartPosition(int startPosition)
    {
        this.startPosition = startPosition;
    }

    /**
     * @return the endPosition
     */
    public int getEndPosition()
    {
        return endPosition;
    }

    /**
     * @param endPosition the endPosition to set
     */
    public void setEndPosition(int endPosition)
    {
        this.endPosition = endPosition;
    }

    /**
     * @return the condition
     */
    public String getCondition()
    {
        return condition;
    }

    /**
     * @param condition the condition to set
     */
    public void setCondition(String condition)
    {
        this.condition = condition;
    }

}
